Accusoft.ImagXpress13.ActiveX
Load Image from Bitmap or DIB

If the image to load is a DIB or BMP, setting the hDIB property (or the hDIB64 Property for 64-bit environments) loads the image. If the image is a BMP, a call to hDIB converts the bitmap to a DIB and stores at hDIB.

The image can be accessed as a device dependent bitmap by calling ToHBitmap

Note that ToHBitmap does not load an image. When ToHBitmap is called, the current DIB is converted to a device dependent bitmap and stored at ToHBitmap. Therefore, the value of ToHBitmap may change in subsequent calls, if the DIB has been modified.

The OwnDIB property specifies whether ImagXpress® should make a copy of the DIB during loading, or use the source DIB at the source location. 

Note that when a DIB loads by setting hDIB, the display is not immediately updated. The display will update to the new DIB the next time the display paints. 
See Also

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback